<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=emulateie7" />
<title><?php echo $title;?></title>
<meta name="keywords" content="<?php echo $keywords;?>" />
<meta name="description" content="<?php echo $description;?>" />
<link type="image/x-icon" rel="shortcut icon" href="/images/icon.gif" />
<link type="text/css" rel="stylesheet" href="/css/all.css" media="all"
	id="mystyle" />
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/js/globle.js"></script>

</head>
<body>
	<!--wrapper begin-->
	<div id="wrapper" >
		<!--header begin-->
		<div id="header">
			<div class="iheader">
				<div class="logo">
					<a href="/">
						<img src="/images/logo.gif" alt="" />
					</a>
				</div>
      
      <?php if(isset($username)):?><div class="quickMenu">
					<a href="/sign_out" rel="nofollow"> Logout </a>
					<span> |</span>
					<a href="/user_mag" rel="nofollow"> My Account </a>
					<span> |</span>
					<a href="/user_mag/wishlist" rel="nofollow"> Wishlist </a>
				</div><?php else:?>
      <div class="quickMenu">
					<a href="/sign_l" rel="nofollow"> Login </a>
					<span> |</span>
					<a href="/sign_r" rel="nofollow"> Register </a>
					<span> |</span>
					<a href="/user_mag/wishlist" rel="nofollow"> Wishlist </a>
				</div><?php endif;?>
                            <div class="basket">
                                <span style="margin-right: 5px;">
					My Bag:
					<a href="/shippingcart/add_to_cart"><?php echo $pro_item;?> item(s)</a>
                                </span>
                                <a href="/currency/EUR" class="eur" rel="nofollow"></a>
                                </div>
				<div class="currency">
					<a href="/currency/EUR" class="eur" rel="nofollow"></a>
					<a href="/currency/USD" class="usd" rel="nofollow"></a>
					<a href="/currency/GBP" class="gbp" rel="nofollow"></a>
				</div>
				<div class="nav">
					<ul>
						<li>
							<a href="/">
								<span>HOME</span>
							</a>
						</li>
						<li class="icon"></li>
						<li>
							<a href="#">
								<span>REPLICA WATCHES</span>
							</a>
							<ul>
								<li class="icon"></li>
								<?php foreach ($categorys as $key=>$item):?>
								<?php if($key%10 == 0):?>
								
								<li>
									<dl>
										<dd>
											<a href="/<?php echo $item['cateurl']?>"><?php echo $item['catename']?></a>
										</dd>
								<?php elseif($key%10 == 9):?>
										<dd>
											<a href="/<?php echo $item['cateurl']?>"><?php echo $item['catename']?></a>
										</dd>
									</dl>
								</li>
								<?php else:?>
							
								<dd>
									<a href="/<?php echo $item['cateurl']?>"><?php echo $item['catename']?></a>
								</dd>
										
								<?php endif;?>
								<?php endforeach;?>
								<?php if(count($categorys)%10 != 0):?>
								</dl>
								</li>
								<?php endif;?>
							</ul>
						</li>
						<li class="icon"></li>
						<li>
							<a href="/omega">
								<span>OMEGA</span>
							</a>
						</li>
						<li class="icon"></li>
						<li>
							<a href="/breitling">
								<span>BREITLING</span>
							</a>
						</li>
						<li class="icon"></li>
						<li>
							<a href="/cartier">
								<span>CARTIER</span>
							</a>
						</li>
						<li class="icon"></li>
						<li>
							<a href="/contactus">
								<span>CONTACT US</span>
							</a>
						</li>
						<li class="icon"></li>
						<li>
							<a href="/faq">
								<span>FAQ</span>
							</a>
						</li>
					</ul>
				</div>
				<div class="liveChat">
					 <?php echo isset($username)?'welcome '.$username:'';?>
				</div>
				
				<script type="text/javascript">menu(".nav")</script>
			</div>
		</div>
		<!--header end-->